import request from '@/utils/request';

export function apiQuestionAdd(data) {
  return request({
    url: '/admin/question/add',
    method: 'post',
    data
  });
}

export function apiQuestionEdit(data) {
  return request({
    url: '/admin/question/edit',
    method: 'post',
    data
  });
}

export function apiQuestionList(data) {
  return request({
    url: '/admin/question/list',
    method: 'post',
    data
  });
}

export function apiQuestionDel(data) {
  return request({
    url: '/admin/question/del',
    method: 'post',
    data
  });
}

export function apiBindLocations(data) {
  return request({
    url: '/admin/question/bindLocations/do',
    method: 'post',
    data
  });
}
